package com.example.wjh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "game")
public class Game {
    @TableId(type = IdType.ASSIGN_ID)
    private int id;//比赛id
    private String hometeamname;//我方球队名称
    private int homepoint;//我方得分
    private String visitingteam;//对方球队名称
    private int visitingpoint;//对方得分
    private String gameplace;//比赛地点
    private String gametime;//比赛时间
    private String winner;//获胜方
}